﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PSL.ST
{
    public class SyntaxTree
    {
        #region Private Member
        private TreeNode rootNode;
        #endregion

        #region Constructor
        /// <summary>
        /// Create new syntax tree
        /// </summary>
        /// <param name="Parser">Instance of a psl-parser</param>
        public SyntaxTree()
        {
            rootNode = new NoneNode(null);
        }
        #endregion

        #region Public Methods
        /// <summary>
        /// Merge Syntax-Tree
        /// </summary>
        public void Merge(SyntaxTree Tree)
        { 
            
        }
        #endregion

        #region Public Member
        internal TreeNode RootNode
        {
            get { return rootNode; }
        }
        #endregion
    }
}
